home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
slatex
/
slatex.unx
< prev
next >
Wrap
Text File
|
1993-11-07
|
763b
|
35 lines
scheme=oldchez
# scheme is the name by which you call your Scheme. Specify full pathname
# if its location is not in your path.
slatexdir=/home/dorai/scm/slatex/
# slatexdir is the location of the file slatex.ss. Final "/" must be
# included.
latexdir=""
# latexdir can be set to '' if latex and tex are in your path.
# If not, set it to the directory where the executables tex and latex
# reside -- remember to include final "/".
# do not modify below this line.
case $1 in
*.tex) texfile=`basename $1 .tex`;;
*) texfile=$1;;
esac
rm -f .Z[0-9]*$texfile.ss .Z[0-9]*$texfile.tex
echo '
(load "'$slatexdir'slatex.ss")
(set! *texinputs* "'$TEXINPUTS'")
(process-main-tex-file "'$1'")
' | $scheme
latex=`cat .Z0$texfile.tex`
$latexdir$latex $1